<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<html>
	<head>
		<title>会员列表</title>
		<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
		<script language="javascript">  
			function gotoPage(pageOffset, pageSize) {
					var form = document.getElementsByTagName("form")[0];
					form.elements["pager.offset"].value = pageOffset;
					form.elements["pageSize"].value = pageSize;
					form.submit();
			}
		</script>
		<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
	</head>

	<body>
		<form action="${ctx}/pw_members/pw_membersManage.do" method="post">
			 <table width="100%" align="center">
				<input type="hidden" name="method" value="list" />
				 ${aaaaa}
				 <tr>
		    		<th class="td_01" height="25px">用户ID</th>
			    	<th class="td_01">用户名</th>
			    	<th class="td_01">真实名</th>
			    	
			    	<th class="td_01">城市</th>
			    	
			    	<th class="td_01">电话</th>
			    	<th class="td_01">Vip卡号</th>
			    	
			    	<th class="td_01">积分</th>
			    	<th class="td_01">注册日期</th>
			    	
			    	<th class="td_01">操作</th>
		   		 </tr>
				<logic:present name="Pw_membersRange">
					<logic:iterate id="pw_members" name="Pw_membersRange" property="records">
						<tr>
							<td class="td_03" nowrap><a href="${ctx}/pw_members/pw_membersManage.do?method=queryById&memberId=${pw_members.uid}">${pw_members.uid}</a></td>
							<td class="td_03">${pw_members.username}</td>
							<td class="td_03" nowrap>${pw_members.realName}</td>
							
							<td class="td_03">${pw_members.province}&nbsp;${pw_members.rcity}&nbsp;${pw_members.town}</td>
							
							<td class="td_03">${pw_members.mobile}</td>
							<td class="td_03">${pw_members.vip}</td>
							
							<td class="td_03">${pw_members.point}</td>
							<bean:define id="regDate" name="pw_members" property="regDate" />
							<td class="td_03" nowrap><%=com.safeai.util.DateUtil.printLongTime(new Long(((Long)regDate).longValue()*1000))%></td>
							
							<td class="td_03">
	                            <a href= "${ctx}/pw_members/pw_membersManage.do?method=toUpdatePw_members&pw_members.uid=${pw_members.uid}">修改</a>
								<a href="#" onmousedown="if(confirm('是否删除？')==true) location.href='${ctx}/pw_members/pw_membersManage.do?method=deletePw_members&pw_members.uid=${pw_members.uid}'">删除</a>
                           		<a href= "${ctx}/point.do?method=queryList&point.customerId=${pw_members.uid}">积分记录</a>
                            </td>
						</tr>
					</logic:iterate>
				</logic:present>
				<tr>
					<td colspan="9" align="right">
                    <div style="float:left">&nbsp;&nbsp;
                    <a href="${ctx}/pw_members/pw_membersManage.do?method=toAddPw_members">添&nbsp;&nbsp;加</a>
                    </div>
                    <%@ include file="/pages/safeai/jsp/common/page.jsp"%>&nbsp;&nbsp;&nbsp;&nbsp;
                    </td>
				</tr>
			</table>
		</form>
	</body>
</html> 